<?php
/**
 * Created by PhpStorm.
 * User: 戎大富
 * Date: 2017/12/22
 * Time: 15:55
 */
namespace app\admin\validate;

use think\Validate;
class LifeValidate extends Validate
{
    protected $rule = [
        'city' => 'require',
        'area' =>'require',
        'life_content'=>'require'
    ];
    protected $message = [
        'city.require' => '市不能为空',
        'area.require' => '区不能为空',
        'life_content.require' => '信息内容不能为空',
    ];
}